package com.massa.caronafacil.user;

public class Session {

    private String login;
    private String nome;    
    private static Session instance ;
    
    private Session() {
    	login = "";
    	nome = "";
    }

    public static Session getInstance() {
        if ( Session.instance == null ) {
            Session.instance = new Session();
        }
        return Session.instance;
    }

    public void setLogin(String l) {
    	this.login = l;
    }

    public void setNome(String n) {
    	this.nome = n;
    }
    
    public String getLogin() {
        return login;
    }

    public String getNome() {
        return nome;
    }
}
